import Icon from '@/components/Icon'
import styles from './index.module.scss'

const CommentItem = () => {
  return (
    <div className={styles.root}>
      <div className="avatar">
        <img src="http://geek.itheima.net/images/user_head.jpg" alt="" />
      </div>
      <div className="comment-info">
        <div className="comment-info-header">
          <span className="name">黑马先锋</span>
          {/* 文章评论、评论的回复 */}
          <span className="thumbs-up">
            10
            <Icon type={true ? 'iconbtn_like_sel' : 'iconbtn_like2'} />
          </span>
        </div>
        <div className="comment-content">打破零评论</div>
      </div>
    </div>
  )
}

export default CommentItem
